package com.jingdianjichi.subject.domain.handler.subject;

import com.jingdianjichi.subject.common.enums.SubjectInfoTypeEnum;
import com.jingdianjichi.subject.domain.entity.SubjectInfoBO;
import com.jingdianjichi.subject.domain.entity.SubjectOptionBO;

/**
 * SubjectTypeHandler
 *
 * @author 86178
 * @version 2024/03/18 21:55
 **/
public interface SubjectTypeHandler {

    /**
     * 枚举身份识别
     * @return
     */
    SubjectInfoTypeEnum getHandlerType();

    /**
     * 实际的题目插入
     * @param subjectInfoBO
     */
    void add(SubjectInfoBO subjectInfoBO);


    /**
     * 题目查询
     * @param subjectId
     * @return
     */
    SubjectOptionBO query(Long subjectId);


}

